package bank;

/**
 * @ClassName: Account
 * @Auther: Drawin
 * @Date: 2021/9/29 15:37
 * @Description:
 */

public class Account {
        public static void main(String[] args) {
            bank zhangsan=new bank("001","张三",1000);
            bank lisi=new bank("002","李四",1000);
            zhangsan.deposite(2000);
            lisi.withdraw(500);
            zhangsan.changeMoney(lisi,300);
            System.out.println("张三的余额是："+zhangsan.getBalance());
            System.out.println("李四的余额是："+lisi.getBalance());
        }
}
